LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2016, 11:19 PM   #1
stern0m1
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
netsed


Im trying to get netsed working on open-wrt, im trying
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 10000
netsed tcp 10000 0 0 s/Hello/bbbbb
but this is what i get:
OpenWrt:~# /root/netsed tcp 10000 0 0 s/Hello/bbbbb
netsed 1.00b by Julien VdG
based on 0.01c from Michal Zalewski
Parsing rule s/Hello/bbbbb...
[+] Loaded 1 rule...
getaddrinfo(): Name or service not known
[-] Error: Impossible to resolve remote address or port.
netsed: exiting.
What am i doing wrong?
Thanks
 
Old 11-01-2016, 10:48 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,604

Rep: Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604
https://anonscm.debian.org/cgit/coll...it/tree/README
based on this rhost rport cannot be 0.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed version of netsed? lolmaker Linux - Software 4 11-15-2006 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration